package com.hcy.driver.mapper;

import com.hcy.driver.dto.request.BaseInfoRequestDTO;
import com.hcy.driver.dto.response.BaseInfoResponseDTO;
import com.hcy.driver.entity.Info;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hcy.rabbitbasicmodel.dto.HomeData;

import java.util.List;

/**
 * <p>
 * 司机信息表 Mapper 接口
 * </p>
 *
 * @author hcy
 * @since 2021-12-30
 */
public interface InfoMapper extends BaseMapper<Info> {

    BaseInfoResponseDTO getBaseInfo(BaseInfoRequestDTO requestDTO);

    List<HomeData> getNewDrivers();
}
